package com.faner.fast.upms.model;

import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 部门关系表
 * </p>
 *
 * @author faner
 * @since 2021-01-29
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("sys_dept_relation")
@ApiModel(value="SysDeptRelationDO对象", description="部门关系表")
public class SysDeptRelationDO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "祖先节点")
    private Long ancestor;

    @ApiModelProperty(value = "后代节点")
    private Long descendant;


}
